package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.FocusOnTheTypeOfCompetition;
import org.hxyjs.entity.FocusOnTheTypeOfCompetitionExample;

@Mapper
public interface FocusOnTheTypeOfCompetitionMapper {
    long countByExample(FocusOnTheTypeOfCompetitionExample example);

    int deleteByExample(FocusOnTheTypeOfCompetitionExample example);

    int deleteByPrimaryKey(String focno);

    int insert(FocusOnTheTypeOfCompetition record);

    int insertSelective(FocusOnTheTypeOfCompetition record);

    List<FocusOnTheTypeOfCompetition> selectByExample(FocusOnTheTypeOfCompetitionExample example);

    List<FocusOnTheTypeOfCompetition> getFocusOnTheTypeOfCompetitionByPage(Map<String, Object> map);

    FocusOnTheTypeOfCompetition selectByPrimaryKey(String focno);

    int updateByExampleSelective(@Param("record") FocusOnTheTypeOfCompetition record, @Param("example") FocusOnTheTypeOfCompetitionExample example);

    int updateByExample(@Param("record") FocusOnTheTypeOfCompetition record, @Param("example") FocusOnTheTypeOfCompetitionExample example);

    int updateByPrimaryKeySelective(FocusOnTheTypeOfCompetition record);

    int updateByPrimaryKey(FocusOnTheTypeOfCompetition record);


    String getMaxFocno();
}